<%@page import="com.liferay.portal.kernel.util.HtmlUtil"%>
<%@page import="com.liferay.portal.kernel.util.StringUtil"%>
<%@ taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %>
<liferay-theme:defineObjects />
<div class="wd-boxs">
	<h2 class="wd-tlh1-1 wd-alignment"><%=title %></h2>
	<ul class="wd-list-link">
		<%	
			for (int i=0;i<listCategory.size();i++){
			TFCategory category = (TFCategory)listCategory.get(i);	
			categoryURL.setParameter("categoryId", String.valueOf(category.getId()));	
		%>
	   		
		   	<li><a href="<%=categoryURL%>"><%=StringUtil.shorten(HtmlUtil.extractText(category.getName()),42)%></a></li>
		<%
			}
		%>
	</ul>
</div>